///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Dec 17 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "UI_BaseClasses.h"

///////////////////////////////////////////////////////////////////////////

UI_MainFrame::UI_MainFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );
	
	m_panel1 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	m_sizerRoot = new wxBoxSizer( wxVERTICAL );
	
	m_sizerSettings = new wxFlexGridSizer( 2, 3, 0, 0 );
	m_sizerSettings->AddGrowableCol( 1 );
	m_sizerSettings->SetFlexibleDirection( wxBOTH );
	m_sizerSettings->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_lblProfile = new wxStaticText( m_panel1, wxID_ANY, wxT("Profile"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblProfile->Wrap( -1 );
	m_sizerSettings->Add( m_lblProfile, 0, wxALL, 5 );
	
	wxArrayString m_ddProfileChoices;
	m_ddProfile = new wxChoice( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_ddProfileChoices, 0 );
	m_ddProfile->SetSelection( 0 );
	m_sizerSettings->Add( m_ddProfile, 0, wxALL|wxEXPAND, 5 );
	
	m_btnEditProfile = new wxButton( m_panel1, wxID_ANY, wxT("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
	m_sizerSettings->Add( m_btnEditProfile, 0, wxALL, 5 );
	
	m_lblServer = new wxStaticText( m_panel1, wxID_ANY, wxT("Server"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblServer->Wrap( -1 );
	m_sizerSettings->Add( m_lblServer, 0, wxALL, 5 );
	
	wxArrayString m_ddServerChoices;
	m_ddServer = new wxChoice( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_ddServerChoices, 0 );
	m_ddServer->SetSelection( 0 );
	m_sizerSettings->Add( m_ddServer, 0, wxALL|wxEXPAND, 5 );
	
	m_btnEditServers = new wxButton( m_panel1, wxID_ANY, wxT("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
	m_sizerSettings->Add( m_btnEditServers, 0, wxALL, 5 );
	
	m_sizerRoot->Add( m_sizerSettings, 0, wxEXPAND, 5 );
	
	m_sizerInfo = new wxBoxSizer( wxHORIZONTAL );
	
	m_ChannelUsers = new wxTreeCtrl( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_HIDE_ROOT|wxTR_NO_LINES );
	m_sizerInfo->Add( m_ChannelUsers, 1, wxALL|wxEXPAND, 5 );
	
	wxBoxSizer* bSizer26;
	bSizer26 = new wxBoxSizer( wxVERTICAL );
	
	m_ledTxVol = new wxLedBarGraph( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	m_ledTxVol->SetDrawingMode( ledBG_SINGLE_SIDED_BOTTOM_RIGHT );
	m_ledTxVol->SetSizingMode( ledBG_FIXED_N_BARS );
	m_ledTxVol->SetOrientation( ledBG_ORIENT_VERTICAL );
	m_ledTxVol->SetBarWidths( 8 );
	m_ledTxVol->SetNBars( 28 );
	m_ledTxVol->SetMaxValue( 1 );
	m_ledTxVol->SetMinValue( 0 );
	
	bSizer26->Add( m_ledTxVol, 0, wxALL|wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 5 );
	
	m_ledTxAct = new awxLed( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, awxLED_RED, 0 );
	m_ledTxAct->SetState( awxLED_OFF );
	bSizer26->Add( m_ledTxAct, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
	
	m_lblTxAct = new wxStaticText( m_panel1, wxID_ANY, wxT("Tx\nAct"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblTxAct->Wrap( -1 );
	bSizer26->Add( m_lblTxAct, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
	
	m_sizerInfo->Add( bSizer26, 0, wxALIGN_BOTTOM, 5 );
	
	m_sizerRoot->Add( m_sizerInfo, 1, wxEXPAND, 5 );
	
	m_staticline1 = new wxStaticLine( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
	m_sizerRoot->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxHORIZONTAL );
	
	m_chkMuteRx = new wxCheckBox( m_panel1, wxID_ANY, wxT("Mute Rx"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer2->Add( m_chkMuteRx, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_chkMuteTx = new wxCheckBox( m_panel1, wxID_ANY, wxT("Mute Tx"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer2->Add( m_chkMuteTx, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	
	bSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
	
	m_btnConfigure = new wxButton( m_panel1, wxID_ANY, wxT("Configure..."), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer2->Add( m_btnConfigure, 0, wxALL, 5 );
	
	m_btnConnect = new wxButton( m_panel1, wxID_ANY, wxT("&Connect"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer2->Add( m_btnConnect, 0, wxALL, 5 );
	
	m_sizerRoot->Add( bSizer2, 0, wxALIGN_RIGHT|wxEXPAND, 5 );
	
	m_panel1->SetSizer( m_sizerRoot );
	m_panel1->Layout();
	m_sizerRoot->Fit( m_panel1 );
	bSizer1->Add( m_panel1, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer1 );
	this->Layout();
	
	// Connect Events
	this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( UI_MainFrame::OnClose ) );
	this->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( UI_MainFrame::OnUpdateUI ) );
	m_btnEditProfile->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnEditProfiles ), NULL, this );
	m_btnEditServers->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnEditServers ), NULL, this );
	m_ChannelUsers->Connect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, wxTreeEventHandler( UI_MainFrame::OnTreeActivated ), NULL, this );
	m_ChannelUsers->Connect( wxEVT_COMMAND_TREE_ITEM_MENU, wxTreeEventHandler( UI_MainFrame::OnTreeContextMenu ), NULL, this );
	m_chkMuteRx->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( UI_MainFrame::OnMuteRx ), NULL, this );
	m_chkMuteTx->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( UI_MainFrame::OnMuteTx ), NULL, this );
	m_btnConfigure->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnConfigure ), NULL, this );
	m_btnConnect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnConnect ), NULL, this );
}

UI_MainFrame::~UI_MainFrame()
{
	// Disconnect Events
	this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( UI_MainFrame::OnClose ) );
	this->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( UI_MainFrame::OnUpdateUI ) );
	m_btnEditProfile->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnEditProfiles ), NULL, this );
	m_btnEditServers->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnEditServers ), NULL, this );
	m_ChannelUsers->Disconnect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, wxTreeEventHandler( UI_MainFrame::OnTreeActivated ), NULL, this );
	m_ChannelUsers->Disconnect( wxEVT_COMMAND_TREE_ITEM_MENU, wxTreeEventHandler( UI_MainFrame::OnTreeContextMenu ), NULL, this );
	m_chkMuteRx->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( UI_MainFrame::OnMuteRx ), NULL, this );
	m_chkMuteTx->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( UI_MainFrame::OnMuteTx ), NULL, this );
	m_btnConfigure->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnConfigure ), NULL, this );
	m_btnConnect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_MainFrame::OnConnect ), NULL, this );
}

UI_ProfilesDlg::UI_ProfilesDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer6;
	bSizer6 = new wxBoxSizer( wxHORIZONTAL );
	
	wxBoxSizer* bSizer7;
	bSizer7 = new wxBoxSizer( wxVERTICAL );
	
	m_lstProfiles = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); 
	bSizer7->Add( m_lstProfiles, 1, wxALL|wxEXPAND, 5 );
	
	wxBoxSizer* bSizer20;
	bSizer20 = new wxBoxSizer( wxHORIZONTAL );
	
	m_btnAdd = new wxButton( this, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer20->Add( m_btnAdd, 0, wxALL, 5 );
	
	m_btnDelete = new wxButton( this, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btnDelete->Enable( false );
	
	bSizer20->Add( m_btnDelete, 0, wxALL, 5 );
	
	bSizer7->Add( bSizer20, 0, wxEXPAND, 5 );
	
	bSizer6->Add( bSizer7, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer9;
	bSizer9 = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizer27;
	bSizer27 = new wxBoxSizer( wxVERTICAL );
	
	wxFlexGridSizer* fgSizer3;
	fgSizer3 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer3->AddGrowableCol( 1 );
	fgSizer3->SetFlexibleDirection( wxBOTH );
	fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_lblName = new wxStaticText( this, wxID_ANY, wxT("Name"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblName->Wrap( -1 );
	fgSizer3->Add( m_lblName, 0, wxALL, 5 );
	
	m_txtName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_txtName->Enable( false );
	
	fgSizer3->Add( m_txtName, 0, wxALL|wxEXPAND, 5 );
	
	m_lblUserName = new wxStaticText( this, wxID_ANY, wxT("Username"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblUserName->Wrap( -1 );
	fgSizer3->Add( m_lblUserName, 0, wxALL, 5 );
	
	m_txtUserName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_txtUserName->Enable( false );
	
	fgSizer3->Add( m_txtUserName, 0, wxALL|wxEXPAND, 5 );
	
	m_lblPassword = new wxStaticText( this, wxID_ANY, wxT("Password*"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblPassword->Wrap( -1 );
	fgSizer3->Add( m_lblPassword, 0, wxALL, 5 );
	
	m_txtPassword = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
	m_txtPassword->Enable( false );
	
	fgSizer3->Add( m_txtPassword, 0, wxALL|wxEXPAND, 5 );
	
	bSizer27->Add( fgSizer3, 1, wxEXPAND, 5 );
	
	m_staticText12 = new wxStaticText( this, wxID_ANY, wxT("* Password ignored if not necessary"), wxDefaultPosition, wxSize( -1,-1 ), wxALIGN_RIGHT );
	m_staticText12->Wrap( -1 );
	bSizer27->Add( m_staticText12, 0, wxALL|wxEXPAND, 5 );
	
	bSizer9->Add( bSizer27, 1, wxEXPAND, 5 );
	
	m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
	bSizer9->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer10;
	bSizer10 = new wxBoxSizer( wxHORIZONTAL );
	
	m_btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btnCancel->Enable( false );
	
	bSizer10->Add( m_btnCancel, 0, wxALL, 5 );
	
	m_btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btnSave->Enable( false );
	
	bSizer10->Add( m_btnSave, 0, wxALL, 5 );
	
	bSizer9->Add( bSizer10, 0, wxALIGN_RIGHT, 5 );
	
	bSizer6->Add( bSizer9, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer6 );
	this->Layout();
	
	// Connect Events
	m_lstProfiles->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( UI_ProfilesDlg::OnProfileSelectionChange ), NULL, this );
	m_btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnAdd ), NULL, this );
	m_btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnDelete ), NULL, this );
	m_txtName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ProfilesDlg::OnEditName ), NULL, this );
	m_txtUserName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ProfilesDlg::OnEditUserName ), NULL, this );
	m_txtPassword->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ProfilesDlg::OnEditPassword ), NULL, this );
	m_btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnCancel ), NULL, this );
	m_btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnSave ), NULL, this );
}

UI_ProfilesDlg::~UI_ProfilesDlg()
{
	// Disconnect Events
	m_lstProfiles->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( UI_ProfilesDlg::OnProfileSelectionChange ), NULL, this );
	m_btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnAdd ), NULL, this );
	m_btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnDelete ), NULL, this );
	m_txtName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ProfilesDlg::OnEditName ), NULL, this );
	m_txtUserName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ProfilesDlg::OnEditUserName ), NULL, this );
	m_txtPassword->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ProfilesDlg::OnEditPassword ), NULL, this );
	m_btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnCancel ), NULL, this );
	m_btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ProfilesDlg::OnSave ), NULL, this );
}

UI_ServersDlg::UI_ServersDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer6;
	bSizer6 = new wxBoxSizer( wxHORIZONTAL );
	
	wxBoxSizer* bSizer7;
	bSizer7 = new wxBoxSizer( wxVERTICAL );
	
	m_lstServers = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); 
	bSizer7->Add( m_lstServers, 1, wxALL|wxEXPAND, 5 );
	
	wxBoxSizer* bSizer20;
	bSizer20 = new wxBoxSizer( wxHORIZONTAL );
	
	m_btnAdd = new wxButton( this, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer20->Add( m_btnAdd, 0, wxALL, 5 );
	
	m_btnDelete = new wxButton( this, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btnDelete->Enable( false );
	
	bSizer20->Add( m_btnDelete, 0, wxALL, 5 );
	
	bSizer7->Add( bSizer20, 0, wxEXPAND, 5 );
	
	bSizer6->Add( bSizer7, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer9;
	bSizer9 = new wxBoxSizer( wxVERTICAL );
	
	wxFlexGridSizer* fgSizer3;
	fgSizer3 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer3->AddGrowableCol( 1 );
	fgSizer3->SetFlexibleDirection( wxBOTH );
	fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_lblName = new wxStaticText( this, wxID_ANY, wxT("Name"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblName->Wrap( -1 );
	fgSizer3->Add( m_lblName, 0, wxALL, 5 );
	
	m_txtName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_txtName->Enable( false );
	
	fgSizer3->Add( m_txtName, 0, wxALL|wxEXPAND, 5 );
	
	m_lblServer = new wxStaticText( this, wxID_ANY, wxT("Server"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblServer->Wrap( -1 );
	fgSizer3->Add( m_lblServer, 0, wxALL, 5 );
	
	m_txtServer = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_txtServer->Enable( false );
	
	fgSizer3->Add( m_txtServer, 0, wxALL|wxEXPAND, 5 );
	
	m_lblPort = new wxStaticText( this, wxID_ANY, wxT("Port"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblPort->Wrap( -1 );
	fgSizer3->Add( m_lblPort, 0, wxALL, 5 );
	
	m_txtPort = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_txtPort->Enable( false );
	
	fgSizer3->Add( m_txtPort, 0, wxALL|wxEXPAND, 5 );
	
	bSizer9->Add( fgSizer3, 1, wxEXPAND, 5 );
	
	m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
	bSizer9->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer10;
	bSizer10 = new wxBoxSizer( wxHORIZONTAL );
	
	m_btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btnCancel->Enable( false );
	
	bSizer10->Add( m_btnCancel, 0, wxALL, 5 );
	
	m_btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
	m_btnSave->Enable( false );
	
	bSizer10->Add( m_btnSave, 0, wxALL, 5 );
	
	bSizer9->Add( bSizer10, 0, wxALIGN_RIGHT, 5 );
	
	bSizer6->Add( bSizer9, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer6 );
	this->Layout();
	
	// Connect Events
	this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( UI_ServersDlg::OnClose ) );
	m_lstServers->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( UI_ServersDlg::OnServersSelectionChange ), NULL, this );
	m_btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnAdd ), NULL, this );
	m_btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnDelete ), NULL, this );
	m_txtName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ServersDlg::OnNameChanged ), NULL, this );
	m_txtServer->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ServersDlg::OnServerChanged ), NULL, this );
	m_txtPort->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ServersDlg::OnPortChanged ), NULL, this );
	m_btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnCancel ), NULL, this );
	m_btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnSave ), NULL, this );
}

UI_ServersDlg::~UI_ServersDlg()
{
	// Disconnect Events
	this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( UI_ServersDlg::OnClose ) );
	m_lstServers->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( UI_ServersDlg::OnServersSelectionChange ), NULL, this );
	m_btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnAdd ), NULL, this );
	m_btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnDelete ), NULL, this );
	m_txtName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ServersDlg::OnNameChanged ), NULL, this );
	m_txtServer->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ServersDlg::OnServerChanged ), NULL, this );
	m_txtPort->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( UI_ServersDlg::OnPortChanged ), NULL, this );
	m_btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnCancel ), NULL, this );
	m_btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( UI_ServersDlg::OnSave ), NULL, this );
}

UI_ConfigureDlg::UI_ConfigureDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer30;
	bSizer30 = new wxBoxSizer( wxVERTICAL );
	
	m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	m_tpGeneral = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer31;
	bSizer31 = new wxBoxSizer( wxHORIZONTAL );
	
	wxBoxSizer* bSizer19;
	bSizer19 = new wxBoxSizer( wxVERTICAL );
	
	wxStaticBoxSizer* sbSizer1;
	sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( m_tpGeneral, wxID_ANY, wxT("Push To Talk") ), wxVERTICAL );
	
	wxFlexGridSizer* fgSizer6;
	fgSizer6 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer6->AddGrowableCol( 1 );
	fgSizer6->SetFlexibleDirection( wxBOTH );
	fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_rdPtt = new wxRadioButton( m_tpGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer6->Add( m_rdPtt, 0, wxALL, 5 );
	
	wxFlexGridSizer* fgSizer7;
	fgSizer7 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer7->AddGrowableCol( 1 );
	fgSizer7->SetFlexibleDirection( wxBOTH );
	fgSizer7->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText14 = new wxStaticText( m_tpGeneral, wxID_ANY, wxT("Hotkey"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText14->Wrap( -1 );
	fgSizer7->Add( m_staticText14, 0, wxALL, 5 );
	
	m_txtPttHotkey = new wxTextCtrl( m_tpGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer7->Add( m_txtPttHotkey, 0, wxALL|wxEXPAND, 5 );
	
	fgSizer6->Add( fgSizer7, 1, wxEXPAND, 5 );
	
	sbSizer1->Add( fgSizer6, 1, wxEXPAND, 5 );
	
	bSizer19->Add( sbSizer1, 1, wxEXPAND, 5 );
	
	wxStaticBoxSizer* sbSizer3;
	sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( m_tpGeneral, wxID_ANY, wxT("Detect Automatically") ), wxVERTICAL );
	
	wxFlexGridSizer* fgSizer71;
	fgSizer71 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer71->AddGrowableCol( 1 );
	fgSizer71->SetFlexibleDirection( wxBOTH );
	fgSizer71->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_rdDetectAutomatically = new wxRadioButton( m_tpGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer71->Add( m_rdDetectAutomatically, 0, wxALL, 5 );
	
	wxFlexGridSizer* fgSizer8;
	fgSizer8 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer8->AddGrowableCol( 1 );
	fgSizer8->SetFlexibleDirection( wxBOTH );
	fgSizer8->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_lblThreshold = new wxStaticText( m_tpGeneral, wxID_ANY, wxT("Threshold"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblThreshold->Wrap( -1 );
	fgSizer8->Add( m_lblThreshold, 0, wxALL, 5 );
	
	m_textCtrl7 = new wxTextCtrl( m_tpGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer8->Add( m_textCtrl7, 0, wxALL|wxEXPAND, 5 );
	
	m_lblCuttoffDelay = new wxStaticText( m_tpGeneral, wxID_ANY, wxT("Cutoff"), wxDefaultPosition, wxDefaultSize, 0 );
	m_lblCuttoffDelay->Wrap( -1 );
	fgSizer8->Add( m_lblCuttoffDelay, 0, wxALL, 5 );
	
	wxString m_choice9Choices[] = { wxT("0.1"), wxT("0.25"), wxT("0.5"), wxT("1.0"), wxT("1.5"), wxT("2.0"), wxT("2.5"), wxT("3.0") };
	int m_choice9NChoices = sizeof( m_choice9Choices ) / sizeof( wxString );
	m_choice9 = new wxChoice( m_tpGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choice9NChoices, m_choice9Choices, 0 );
	m_choice9->SetSelection( 0 );
	fgSizer8->Add( m_choice9, 0, wxALL|wxEXPAND, 5 );
	
	fgSizer71->Add( fgSizer8, 1, wxEXPAND, 5 );
	
	sbSizer3->Add( fgSizer71, 1, wxEXPAND, 5 );
	
	bSizer19->Add( sbSizer3, 1, wxEXPAND, 5 );
	
	bSizer31->Add( bSizer19, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer20;
	bSizer20 = new wxBoxSizer( wxVERTICAL );
	
	wxStaticBoxSizer* sbSizer4;
	sbSizer4 = new wxStaticBoxSizer( new wxStaticBox( m_tpGeneral, wxID_ANY, wxT("Devices") ), wxVERTICAL );
	
	wxFlexGridSizer* fgSizer13;
	fgSizer13 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer13->AddGrowableCol( 1 );
	fgSizer13->SetFlexibleDirection( wxBOTH );
	fgSizer13->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText20 = new wxStaticText( m_tpGeneral, wxID_ANY, wxT("Input Device"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText20->Wrap( -1 );
	m_staticText20->SetToolTip( wxT("The input device is what source of audio to use when transmitting. \nThis could be a microphone jack, or a USB headset") );
	
	fgSizer13->Add( m_staticText20, 0, wxALL, 5 );
	
	wxArrayString m_choice3Choices;
	m_choice3 = new wxChoice( m_tpGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choice3Choices, 0 );
	m_choice3->SetSelection( 0 );
	fgSizer13->Add( m_choice3, 0, wxALL|wxEXPAND, 5 );
	
	m_staticText21 = new wxStaticText( m_tpGeneral, wxID_ANY, wxT("Output Device"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText21->Wrap( -1 );
	m_staticText21->SetToolTip( wxT("The output device is what source of audio to use when playing other people's voice. \nThis could be a headphone/speaker jack, or a USB headset") );
	
	fgSizer13->Add( m_staticText21, 0, wxALL, 5 );
	
	wxArrayString m_choice4Choices;
	m_choice4 = new wxChoice( m_tpGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choice4Choices, 0 );
	m_choice4->SetSelection( 0 );
	fgSizer13->Add( m_choice4, 0, wxALL|wxEXPAND, 5 );
	
	sbSizer4->Add( fgSizer13, 0, wxEXPAND, 5 );
	
	bSizer20->Add( sbSizer4, 1, wxEXPAND, 5 );
	
	wxStaticBoxSizer* sbSizer41;
	sbSizer41 = new wxStaticBoxSizer( new wxStaticBox( m_tpGeneral, wxID_ANY, wxT("Volume Levels") ), wxVERTICAL );
	
	wxFlexGridSizer* fgSizer9;
	fgSizer9 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer9->AddGrowableCol( 1 );
	fgSizer9->SetFlexibleDirection( wxBOTH );
	fgSizer9->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText15 = new wxStaticText( m_tpGeneral, wxID_ANY, wxT("Receive Volume"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText15->Wrap( -1 );
	fgSizer9->Add( m_staticText15, 0, wxALL, 5 );
	
	m_slider1 = new wxSlider( m_tpGeneral, wxID_ANY, 50, 0, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	fgSizer9->Add( m_slider1, 0, wxALL|wxEXPAND, 5 );
	
	m_staticText16 = new wxStaticText( m_tpGeneral, wxID_ANY, wxT("Send Volume"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText16->Wrap( -1 );
	fgSizer9->Add( m_staticText16, 0, wxALL, 5 );
	
	m_slider2 = new wxSlider( m_tpGeneral, wxID_ANY, 50, 0, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	fgSizer9->Add( m_slider2, 0, wxALL|wxEXPAND, 5 );
	
	sbSizer41->Add( fgSizer9, 1, wxEXPAND, 5 );
	
	bSizer20->Add( sbSizer41, 1, wxEXPAND, 5 );
	
	bSizer31->Add( bSizer20, 1, wxEXPAND, 5 );
	
	m_tpGeneral->SetSizer( bSizer31 );
	m_tpGeneral->Layout();
	bSizer31->Fit( m_tpGeneral );
	m_notebook->AddPage( m_tpGeneral, wxT("General"), true );
	m_tpDevices = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxFlexGridSizer* fgSizer10;
	fgSizer10 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer10->SetFlexibleDirection( wxBOTH );
	fgSizer10->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText17 = new wxStaticText( m_tpDevices, wxID_ANY, wxT("Buffer Size"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText17->Wrap( -1 );
	fgSizer10->Add( m_staticText17, 0, wxALL, 5 );
	
	wxArrayString m_ddBufferSizeChoices;
	m_ddBufferSize = new wxChoice( m_tpDevices, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_ddBufferSizeChoices, 0 );
	m_ddBufferSize->SetSelection( 0 );
	fgSizer10->Add( m_ddBufferSize, 0, wxALL, 5 );
	
	m_staticText18 = new wxStaticText( m_tpDevices, wxID_ANY, wxT("On Disconnect"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText18->Wrap( -1 );
	fgSizer10->Add( m_staticText18, 0, wxALL, 5 );
	
	wxBoxSizer* bSizer21;
	bSizer21 = new wxBoxSizer( wxVERTICAL );
	
	m_chkAttemptReconnect = new wxCheckBox( m_tpDevices, wxID_ANY, wxT("Attempt Reconnect"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer21->Add( m_chkAttemptReconnect, 0, wxALL, 5 );
	
	m_chkRejoinChannel = new wxCheckBox( m_tpDevices, wxID_ANY, wxT("Rejoin Channel"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer21->Add( m_chkRejoinChannel, 0, wxALL, 5 );
	
	fgSizer10->Add( bSizer21, 1, wxEXPAND, 5 );
	
	m_tpDevices->SetSizer( fgSizer10 );
	m_tpDevices->Layout();
	fgSizer10->Fit( m_tpDevices );
	m_notebook->AddPage( m_tpDevices, wxT("Network"), false );
	m_tpUserInterface = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer32;
	bSizer32 = new wxBoxSizer( wxVERTICAL );
	
	m_chkHideDropdowns = new wxCheckBox( m_tpUserInterface, wxID_ANY, wxT("Hide Server and Profiles When Connected"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer32->Add( m_chkHideDropdowns, 0, wxALL, 5 );
	
	m_chkHideChannelList = new wxCheckBox( m_tpUserInterface, wxID_ANY, wxT("Hide Channel List when Disconnected"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer32->Add( m_chkHideChannelList, 0, wxALL, 5 );
	
	m_HideTxActivity = new wxCheckBox( m_tpUserInterface, wxID_ANY, wxT("Hide Transmit Activity Monitor"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer32->Add( m_HideTxActivity, 0, wxALL, 5 );
	
	m_tpUserInterface->SetSizer( bSizer32 );
	m_tpUserInterface->Layout();
	bSizer32->Fit( m_tpUserInterface );
	m_notebook->AddPage( m_tpUserInterface, wxT("User Interface"), false );
	
	bSizer30->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer24;
	bSizer24 = new wxBoxSizer( wxHORIZONTAL );
	
	wxBoxSizer* bSizer26;
	bSizer26 = new wxBoxSizer( wxHORIZONTAL );
	
	m_button14 = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer26->Add( m_button14, 0, wxALL, 5 );
	
	bSizer24->Add( bSizer26, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer25;
	bSizer25 = new wxBoxSizer( wxHORIZONTAL );
	
	
	bSizer25->Add( 0, 0, 1, wxEXPAND, 5 );
	
	m_button15 = new wxButton( this, wxID_ANY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer25->Add( m_button15, 0, wxALL, 5 );
	
	m_button13 = new wxButton( this, wxID_ANY, wxT("Ok"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer25->Add( m_button13, 0, wxALL, 5 );
	
	bSizer24->Add( bSizer25, 1, wxEXPAND, 5 );
	
	bSizer30->Add( bSizer24, 0, wxEXPAND, 5 );
	
	this->SetSizer( bSizer30 );
	this->Layout();
}

UI_ConfigureDlg::~UI_ConfigureDlg()
{
}

UI_ChannelSettingsDlg::UI_ChannelSettingsDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer22;
	bSizer22 = new wxBoxSizer( wxVERTICAL );
	
	wxFlexGridSizer* fgSizer11;
	fgSizer11 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer11->AddGrowableCol( 1 );
	fgSizer11->SetFlexibleDirection( wxBOTH );
	fgSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText19 = new wxStaticText( this, wxID_ANY, wxT("Name"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText19->Wrap( -1 );
	fgSizer11->Add( m_staticText19, 0, wxALL, 5 );
	
	m_textCtrl9 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer11->Add( m_textCtrl9, 0, wxALL|wxEXPAND, 5 );
	
	m_staticText20 = new wxStaticText( this, wxID_ANY, wxT("Password"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText20->Wrap( -1 );
	fgSizer11->Add( m_staticText20, 0, wxALL, 5 );
	
	m_textCtrl10 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer11->Add( m_textCtrl10, 0, wxALL|wxEXPAND, 5 );
	
	bSizer22->Add( fgSizer11, 0, wxEXPAND, 5 );
	
	wxStaticBoxSizer* sbSizer5;
	sbSizer5 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Codec Settings") ), wxVERTICAL );
	
	wxBoxSizer* bSizer23;
	bSizer23 = new wxBoxSizer( wxVERTICAL );
	
	m_checkBox5 = new wxCheckBox( this, wxID_ANY, wxT("Use Server Defaults"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer23->Add( m_checkBox5, 0, wxALL, 5 );
	
	wxFlexGridSizer* fgSizer13;
	fgSizer13 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer13->AddGrowableCol( 1 );
	fgSizer13->SetFlexibleDirection( wxBOTH );
	fgSizer13->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText21 = new wxStaticText( this, wxID_ANY, wxT("Codec"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText21->Wrap( -1 );
	fgSizer13->Add( m_staticText21, 0, wxALL, 5 );
	
	wxString m_choice6Choices[] = { wxT("Speex") };
	int m_choice6NChoices = sizeof( m_choice6Choices ) / sizeof( wxString );
	m_choice6 = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choice6NChoices, m_choice6Choices, 0 );
	m_choice6->SetSelection( 0 );
	fgSizer13->Add( m_choice6, 0, wxALL|wxEXPAND, 5 );
	
	bSizer23->Add( fgSizer13, 1, wxEXPAND, 5 );
	
	m_staticText24 = new wxStaticText( this, wxID_ANY, wxT("Sample Rate=8000 Quality=3 VBR=On Bitrate=15.4kb"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText24->Wrap( -1 );
	bSizer23->Add( m_staticText24, 1, wxALL, 5 );
	
	m_button16 = new wxButton( this, wxID_ANY, wxT("Set Codec Options..."), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer23->Add( m_button16, 0, wxALL|wxALIGN_RIGHT, 5 );
	
	sbSizer5->Add( bSizer23, 1, wxEXPAND, 5 );
	
	bSizer22->Add( sbSizer5, 0, wxEXPAND, 5 );
	
	this->SetSizer( bSizer22 );
	this->Layout();
}

UI_ChannelSettingsDlg::~UI_ChannelSettingsDlg()
{
}

UI_SpeexCodecSettings::UI_SpeexCodecSettings( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer29;
	bSizer29 = new wxBoxSizer( wxVERTICAL );
	
	wxFlexGridSizer* fgSizer14;
	fgSizer14 = new wxFlexGridSizer( 2, 2, 0, 0 );
	fgSizer14->AddGrowableCol( 1 );
	fgSizer14->SetFlexibleDirection( wxBOTH );
	fgSizer14->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText25 = new wxStaticText( this, wxID_ANY, wxT("Sample Rate"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText25->Wrap( -1 );
	fgSizer14->Add( m_staticText25, 0, wxALL, 5 );
	
	wxString m_choice10Choices[] = { wxT("8000"), wxT("16000"), wxT("32000") };
	int m_choice10NChoices = sizeof( m_choice10Choices ) / sizeof( wxString );
	m_choice10 = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choice10NChoices, m_choice10Choices, 0 );
	m_choice10->SetSelection( 0 );
	fgSizer14->Add( m_choice10, 0, wxALL|wxEXPAND, 5 );
	
	
	fgSizer14->Add( 0, 0, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer27;
	bSizer27 = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText29 = new wxStaticText( this, wxID_ANY, wxT("Faster"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText29->Wrap( -1 );
	bSizer27->Add( m_staticText29, 0, wxALL, 5 );
	
	
	bSizer27->Add( 0, 0, 1, wxEXPAND, 5 );
	
	m_staticText30 = new wxStaticText( this, wxID_ANY, wxT("Higher Quality"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText30->Wrap( -1 );
	bSizer27->Add( m_staticText30, 0, wxALL, 5 );
	
	fgSizer14->Add( bSizer27, 1, wxEXPAND, 5 );
	
	m_staticText26 = new wxStaticText( this, wxID_ANY, wxT("Quality"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText26->Wrap( -1 );
	fgSizer14->Add( m_staticText26, 0, wxALL, 5 );
	
	m_slider5 = new wxSlider( this, wxID_ANY, 2, 0, 10, wxDefaultPosition, wxDefaultSize, wxSL_AUTOTICKS|wxSL_HORIZONTAL );
	fgSizer14->Add( m_slider5, 0, wxALL|wxEXPAND, 5 );
	
	
	fgSizer14->Add( 0, 0, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer28;
	bSizer28 = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText28 = new wxStaticText( this, wxID_ANY, wxT("Faster"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText28->Wrap( -1 );
	bSizer28->Add( m_staticText28, 0, wxALL, 5 );
	
	
	bSizer28->Add( 0, 0, 1, wxEXPAND, 5 );
	
	m_staticText31 = new wxStaticText( this, wxID_ANY, wxT("Higher Quality"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText31->Wrap( -1 );
	bSizer28->Add( m_staticText31, 0, wxALL, 5 );
	
	fgSizer14->Add( bSizer28, 1, wxEXPAND, 5 );
	
	m_staticText27 = new wxStaticText( this, wxID_ANY, wxT("Complexity"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText27->Wrap( -1 );
	fgSizer14->Add( m_staticText27, 0, wxALL, 5 );
	
	m_slider3 = new wxSlider( this, wxID_ANY, 2, 1, 10, wxDefaultPosition, wxDefaultSize, wxSL_AUTOTICKS|wxSL_HORIZONTAL );
	fgSizer14->Add( m_slider3, 0, wxALL|wxEXPAND, 5 );
	
	bSizer29->Add( fgSizer14, 1, wxEXPAND, 5 );
	
	m_checkBox6 = new wxCheckBox( this, wxID_ANY, wxT("Use Variable Bit Rate"), wxDefaultPosition, wxDefaultSize, 0 );
	
	bSizer29->Add( m_checkBox6, 0, wxALL, 5 );
	
	m_staticText32 = new wxStaticText( this, wxID_ANY, wxT("Projected Bitrate: 32kbps"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText32->Wrap( -1 );
	bSizer29->Add( m_staticText32, 0, wxALL|wxALIGN_RIGHT, 5 );
	
	wxBoxSizer* bSizer31;
	bSizer31 = new wxBoxSizer( wxHORIZONTAL );
	
	m_button17 = new wxButton( this, wxID_ANY, wxT("Set to Defaults"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer31->Add( m_button17, 0, wxALL, 5 );
	
	
	bSizer31->Add( 0, 0, 1, wxEXPAND, 5 );
	
	m_button18 = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer31->Add( m_button18, 0, wxALL, 5 );
	
	m_button19 = new wxButton( this, wxID_ANY, wxT("Ok"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer31->Add( m_button19, 0, wxALL, 5 );
	
	bSizer29->Add( bSizer31, 0, wxALIGN_RIGHT|wxEXPAND, 5 );
	
	this->SetSizer( bSizer29 );
	this->Layout();
}

UI_SpeexCodecSettings::~UI_SpeexCodecSettings()
{
}
